import java.util.Scanner;
public class aula1 {

	
	public static void main(String[] args) {
		
	Scanner leia = new Scanner(System.in);
	
	int notas[][] = new int[2][3];
	
	for (int i=0;i<=1;i++)
	{
		for (int j=0;j<=2;j++)
		{
			System.out.println("Digite a Nota "+(j+1)+" do aluno "+(i+1));
			notas[i][j] = leia.nextInt();
		}
	}
	
	for (int i=0;i<=1;i++)
	{
		for (int j=0;j<=2;j++)
		{
			System.out.println(notas[i][j]);
		}

	}
	
	System.out.println("Notas da Primeira Coluna: ");
	for (int i = 0; i<=1; i++)
	{
		System.out.println(notas[i][0]);
		
	}
	System.out.println("Notas Ultima Coluna: ");
	for (int j = 0; j <= 2; j++)
		System.out.println(notas[1][j]);
	
	
	}

}
